:root {
    --white: #fff;
    --active-color: #00aeb0;
}

* {
    box-sizing: border-box;
}

.MusicPlay {
    font-family: Arial, Helvetica, sans-serif;
    height: 100%;
    background: var(--active-color);
    transition: background 0.4s ease;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

input[type="range"] {
    height: .0357rem;
    -webkit-appearance: none;
    width: 100%;
    margin-bottom: .0714rem;
    border-radius: .0571rem;
    background: #3b7677;
    transition: background 0.2s ease;
    cursor: pointer;
}

.audio-player {
    max-width: 2.5rem;
    padding: .1714rem;
    border-radius: .1429rem;
    box-shadow: 0 .2rem .2rem rgba(0, 0, 0, 0.2);
    margin: auto;
    color: var(--white);
}

.artwork {
    border-radius: .8571rem;
    display: block;
    margin: auto;
    height: 1.4286rem;
    width: 1.4286rem;
}

.track-info {
    text-align: center;
    z-index: 1;
    position: relative;
}

.title {
    font-weight: 700;
    margin-bottom: .0286rem;
}

.artist {
    font-weight: 300;
    margin-top: 0;
}

.audio-controls {
    display: flex;
    justify-content: space-between;
    width: 75%;
    margin: 0 auto .1071rem;
}

.audio-controls .prev svg,
.audio-controls .next svg {
    width: .25rem;
    height: .25rem;
}

.audio-controls .play svg,
.audio-controls .pause svg {
    height: .2857rem;
    width: .2857rem;
}

.audio-controls path {
    fill: var(--white);
}

.color-backdrop {
    background: linear-gradient(45deg, var(--active-color) 20%, transparent 100%) no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.color-backdrop.playing {
    animation: colorChange 20s alternate infinite;
}

@keyframes colorChange {
    from {
        filter: hue-rotate(0deg);
    }

    to {
        filter: hue-rotate(360deg);
    }
}
